cc=gcc.exe
app_name=main.exe
obj=main.o stack.o
target=main stack

terminal:$(target)
	$(cc) -o $(app_name) $(obj)
main:main.c stack
	$(cc) -c main.c
stack:stack.c
	$(cc) -c stack.c
clean:
	del *.exe
	del *.o